home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: actuary@nando.net (Bill McCarthy)
- Newsgroups: comp.lang.c
- Subject: Re: Can be C a so strange language ???. Problem with a function
- Date: 22 Jan 1996 19:44:59 GMT
- Organization: News & Observer Public Access
- Message-ID: <4e0pfr$cpo@castle.nando.net>
- References: <4e015j$drt@hermes.fundp.ac.be>
- Reply-To: actuary@nando.net (Bill McCarthy)
- NNTP-Posting-Host: grail1108.nando.net
- X-Newsreader: IBM NewsReader/2 v1.2
-
- In <4e015j$drt@hermes.fundp.ac.be>, Francisco Melo Ledermann <fmelo@biq.fundp.ac.be> writes:
- >Hi everybody !, I have a problem that for me appears to a really strange
- >one. I have a function that call another function. The function
- >that is called is the next one:
- >
- >struct heavy_atom *Set_Position_AA_Number (int residue_number,
- > struct heavy_atom *position_ptr)
- >{
- > int out;
- >
- > out = 0;
- >
- > while (out != 1)
-
- The above will ALWAYS be true.
-
- > {
- > if ((*position_ptr).res_number != residue_number)
- > {
- > if ((*position_ptr).cooh_ptr != NULL)
- > {
- > position_ptr = (*position_ptr).cooh_ptr;
- > }
- > }
- > else
- > {
- > return (position_ptr);
- > out = 1;
-
- The line above can NEVER be reached.
-
- > }
- > }
- >} /* end of Set_Position_AA_Number function */
-
- Bill McCarthy
- actuary@nando.net
- Wendell, NC USA
-